/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* ===== 自定义样式开始 ===== */

/* 全局样式 */
* {
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* 清除浮动 */
.clearboth:after {
  content: "";
  display: table;
  clear: both;
}

/* 容器宽度 */
.w1200 {
  width: 1200px;
  margin: 0 auto;
}

/* ===== 顶部导航栏 ===== */
.header {
  background-color: #d32f2f;
  border-bottom: none;
  padding: 10px 0;
}

.header_bg {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  background-color: #d32f2f;
  padding: 10px 20px;
  border-radius: 5px;
}

.logo a {
  display: block;
}

.logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.top-link {
  margin-bottom: 10px;
}

.top-link a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.top-link a:hover {
  color: #f0f0f0;
}

.top-right form {
  display: flex;
}

.top-right input[type="text"] {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 3px 0 0 3px;
  width: 200px;
  transition: border-color 0.3s;
}

.top-right input[type="text"]:focus {
  border-color: #d32f2f;
  outline: none;
}

.top-right input[type="submit"] {
  padding: 5px 15px;
  background-color: white;
  color: #d32f2f;
  border: none;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.top-right input[type="submit"]:hover {
  background-color: #f0f0f0;
  color: #b71c1c;
}

/* ===== 主导航菜单 ===== */
.i-menu {
  background-color: #d32f2f;
}

.nav {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.nav > li > a:hover {
  background-color: #b71c1c;
}

.nav > li:hover > ul {
  display: block;
}

.nav ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav ul li {
  border-bottom: 1px solid #eee;
}

.nav ul li:last-child {
  border-bottom: none;
}

.nav ul li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.nav ul li a:hover {
  background-color: #f5f5f5;
  color: #d32f2f;
  padding-left: 20px;
}

/* ===== 轮播图区域 - 修复版 ===== */
.i_bannerbox {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ibanner {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.ibanner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 300%;
  height: 100%;
  display: flex;
  animation: slide 15s infinite;
}

.ibanner li {
  width: 33.333%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.ibanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.ibanner img:hover {
  transform: scale(1.02);
}

/* 轮播图动画关键帧 */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(0);
  }
  33.33% {
    transform: translateX(-33.333%);
  }
  58.33% {
    transform: translateX(-33.333%);
  }
  66.66% {
    transform: translateX(-66.666%);
  }
  91.66% {
    transform: translateX(-66.666%);
  }
  100% {
    transform: translateX(0);
  }
}

/* 轮播图指示器 */
.banner-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.banner-indicators label {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.banner-indicators label:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* 隐藏单选框 */
.banner-radio {
  display: none;
}

/* 通过单选框控制轮播图位置 */
#banner1:checked ~ .ibanner ul {
  animation: none;
  transform: translateX(0);
}

#banner2:checked ~ .ibanner ul {
  animation: none;
  transform: translateX(-33.333%);
}

#banner3:checked ~ .ibanner ul {
  animation: none;
  transform: translateX(-66.666%);
}

/* 指示器激活状态 */
#banner1:checked ~ .banner-indicators label[for="banner1"],
#banner2:checked ~ .banner-indicators label[for="banner2"],
#banner3:checked ~ .banner-indicators label[for="banner3"] {
  background-color: #fff;
}

/* 悬停时暂停动画 */
.ibanner:hover ul {
  animation-play-state: paused;
}

/* ===== 横幅区域 ===== */
.banner-text {
  background-color: #f8f9fa;
  padding: 15px 0;
  text-align: center;
  margin-bottom: 30px;
}

.banner-text h1 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: normal;
  transition: color 0.3s;
}

.banner-text:hover h1 {
  color: #d32f2f;
}

/* ===== 主要内容区域 ===== */
.p_news {
  display: flex;
  margin-bottom: 30px;
}

.p_news_left {
  flex: 2;
  padding-right: 30px;
}

.p_news_right {
  flex: 1;
}

.p_news_left h2,
.p_news_right h2 {
  font-size: 20px;
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
  transition: color 0.3s;
}

.p_news_left h2:hover,
.p_news_right h2:hover {
  color: #b71c1c;
}

.more-link {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.more-link:hover {
  color: #d32f2f;
}

.tw_top {
  display: flex;
  margin-bottom: 20px;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 5px;
  transition: box-shadow 0.3s;
}

.tw_top:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tw_top img {
  width: 300px;
  height: auto;
  margin-right: 20px;
  transition: transform 0.3s;
}

.tw_top:hover img {
  transform: scale(1.03);
}

.tw_txt h3 {
  color: #e74c3c;
  margin-top: 0;
  margin-bottom: 10px;
}

.tw_txt h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.tw_txt h4 a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.tw_txt h4 a:hover {
  color: #d32f2f;
}

.tw_txt p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.p_news_left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p_news_left ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  transition: background-color 0.3s;
}

.p_news_left ul li:hover {
  background-color: #f9f9f9;
}

.p_news_left ul li:last-child {
  border-bottom: none;
}

.p_news_left ul li .date {
  display: inline-block;
  width: 50px;
  color: #999;
  font-size: 14px;
}

.p_news_left ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.p_news_left ul li a:hover {
  color: #d32f2f;
}

/* ===== 通知公告区域 ===== */
.notice-section,
.academic-section {
  margin-bottom: 30px;
}

.notice-section ul,
.academic-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-section ul li,
.academic-section ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}

.notice-section ul li:hover,
.academic-section ul li:hover {
  background-color: #f9f9f9;
}

.notice-section ul li:last-child,
.academic-section ul li:last-child {
  border-bottom: none;
}

.date-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #d32f2f;
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.notice-section ul li:hover .date-number {
  background-color: #b71c1c;
}

.date-year {
  font-size: 12px;
  color: #999;
  margin-right: 10px;
}

.notice-section ul li a {
  color: #333;
  text-decoration: none;
  flex: 1;
  transition: color 0.3s;
}

.notice-section ul li a:hover {
  color: #d32f2f;
}

.academic-section ul li {
  justify-content: space-between;
}

.academic-section ul li a {
  color: #333;
  text-decoration: none;
  flex: 1;
  transition: color 0.3s;
}

.academic-section ul li a:hover {
  color: #d32f2f;
}

.academic-section ul li .date {
  color: #999;
  font-size: 14px;
}

/* ===== 底部内容区域 ===== */
.i-others {
  display: flex;
  margin-bottom: 30px;
}

.i-others_left,
.i-others_center,
.i-others_right {
  flex: 1;
  padding: 0 15px;
  transition: transform 0.3s;
}

.i-others_left:hover,
.i-others_center:hover,
.i-others_right:hover {
  transform: translateY(-5px);
}

.i-others_left:first-child {
  padding-left: 0;
}

.i-others_right:last-child {
  padding-right: 0;
}

.i-others h2 {
  font-size: 18px;
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;
  transition: color 0.3s;
}

.i-others h2:hover {
  color: #b71c1c;
}

.i-others ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.i-others ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  transition: background-color 0.3s;
}

.i-others ul li:hover {
  background-color: #f9f9f9;
}

.i-others ul li:last-child {
  border-bottom: none;
}

.i-others ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.i-others ul li a:hover {
  color: #d32f2f;
}

.i-others_center ul li,
.i-others_right ul li {
  display: flex;
  align-items: center;
}

.i-others_center ul li .date,
.i-others_right ul li .date {
  display: inline-block;
  width: 50px;
  color: #999;
  font-size: 14px;
  margin-right: 10px;
}

.i-others_center ul li a,
.i-others_right ul li a {
  flex: 1;
}

/* ===== 图片和快速通道区域 ===== */
.i-link {
  display: flex;
  margin-bottom: 30px;
}

.i-link_left {
  flex: 2;
  padding-right: 30px;
}

.i-link_right {
  flex: 1;
}

.i-link_left ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.i-link_left ul li {
  flex: 1;
  margin-right: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.i-link_left ul li:hover {
  transform: translateY(-5px);
}

.i-link_left ul li:last-child {
  margin-right: 0;
}

.i-link_left ul li img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: transform 0.3s;
}

.i-link_left ul li:hover img {
  transform: scale(1.05);
}

.i-link_left ul li p {
  margin: 0;
  font-size: 14px;
  color: #333;
  transition: color 0.3s;
}

.i-link_left ul li:hover p {
  color: #d32f2f;
}

.i-link_right h2 {
  font-size: 18px;
  color: #d32f2f;
  border-bottom: 2px solid #d32f2f;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 15px;
  transition: color 0.3s;
}

.i-link_right h2:hover {
  color: #b71c1c;
}

.i-link_right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.i-link_right ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  transition: background-color 0.3s;
}

.i-link_right ul li:hover {
  background-color: #f9f9f9;
}

.i-link_right ul li:last-child {
  border-bottom: none;
}

.i-link_right ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.i-link_right ul li a:hover {
  color: #d32f2f;
}

/* ===== 页脚 ===== */
.footer {
  background-color: #f8f9fa;
  padding: 30px 0;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
}

.footer-left {
  flex: 2;
  padding-right: 30px;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.footer address p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
  font-style: normal;
  transition: color 0.3s;
}

.footer address p:hover {
  color: #333;
}

.copyright {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.copyright a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.copyright a:hover {
  color: #d32f2f;
}

.footer-right img {
  border-radius: 5px;
  transition: transform 0.3s;
}

.footer-right img:hover {
  transform: scale(1.05);
}

/* ===== 轮播图箭头导航 ===== */
.i_bannerbox {
  position: relative;
}

.banner-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.banner-arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  font-size: 24px;
  color: #d32f2f;
  font-weight: bold;
}

.banner-arrow:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.banner-arrow.prev {
  margin-left: 20px;
}

.banner-arrow.next {
  margin-right: 20px;
}

/* 通过伪元素创建箭头 */
.banner-arrow::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border: 3px solid #d32f2f;
  border-width: 3px 3px 0 0;
}

.banner-arrow.prev::before {
  transform: rotate(-135deg);
  margin-left: 5px;
}

.banner-arrow.next::before {
  transform: rotate(45deg);
  margin-right: 5px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
  .w1200 {
    width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 992px) {
  .p_news,
  .i-others,
  .i-link {
    flex-direction: column;
  }
  
  .p_news_left,
  .p_news_right,
  .i-others_left,
  .i-others_center,
  .i-others_right,
  .i-link_left,
  .i-link_right {
    padding: 0;
    margin-bottom: 20px;
  }
  
  .p_news_left {
    padding-right: 0;
  }
  
  .i-link_left {
    padding-right: 0;
  }
  
  .footer {
    flex-direction: column;
  }
  
  .footer-left {
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .footer-right {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .header_bg {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .top-right {
    align-items: flex-start;
    margin-top: 10px;
  }
  
  .nav {
    flex-direction: column;
  }
  
  .nav > li {
    width: 100%;
  }
  
  .nav ul {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  
  .tw_top {
    flex-direction: column;
  }
  
  .tw_top img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .i-link_left ul {
    flex-direction: column;
  }
  
  .i-link_left ul li {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .ibanner {
    height: 250px;
  }
  
  .banner-arrow {
    width: 40px;
    height: 40px;
  }
  
  .banner-arrow.prev {
    margin-left: 10px;
  }
  
  .banner-arrow.next {
    margin-right: 10px;
  }
}